Skip to content

doc: show the RDS CA bundle in the MySQL IAM example - #40925

Merged
val-materialize merged 1 commit into
mainfrom
valeriechiang/mysql-iam-docs-rds-ca
Nov 23, 2026
Merged

val-materialize merged 1 commit into
mainfrom
valeriechiang/mysql-iam-docs-rds-ca

Conversation

@val-materialize

@val-materialize val-materialize commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Fixes SS-601. Follow-up from review on #40911. The MySQL "AWS IAM" example for CREATE CONNECTION uses SSL MODE 'verify_identity' but does not supply a certificate authority. Amazon RDS certificates are signed by Amazon's own CAs, which are not in the system's default CA certificates, so the example as written should fail certificate verification.

The same fix for the new PostgreSQL example is in #40923.

Description

  • Adds a secret holding the Amazon RDS certificate bundle to the MySQL IAM example, and passes it as SSL CERTIFICATE AUTHORITY.
  • Adds a short paragraph saying when the bundle is needed (verify_ca, verify_identity) and when it is not (required), with a link to the AWS download page.

MySQL IAM authentication is already released, so this does not need to wait for a release.

Verification

Not tested against a real RDS MySQL instance. It is based on:

  • MySqlConnection::config in src/storage-types/src/connections.rs, which for VerifyCa and VerifyIdentity trusts the platform's root certificates plus SSL CERTIFICATE AUTHORITY.

  • The end-to-end test for storage: support AWS IAM authentication for PostgreSQL connections #40911, where verify_full to RDS and Aurora PostgreSQL passed with the RDS bundle supplied.

  • The MySQL driver's TLS setup, which adds every PEM certificate in the supplied value to its root store. So a regional bundle with several certificates works as a single SSL CERTIFICATE AUTHORITY value.

That verification fails without the bundle follows from the code, because Amazon RDS certificates are not signed by a CA in the platform's root store. It has not been observed.

🤖 Generated with Claude Code

The MySQL IAM authentication example uses SSL MODE verify_identity
without a certificate authority. Amazon RDS certificates are signed by
Amazon's own CAs, which are not in the system's default CA
certificates, so the example needs the RDS certificate bundle. Add the
secret and SSL CERTIFICATE AUTHORITY, and explain when it is needed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

SS-593

SS-601

@val-materialize
val-materialize merged commit 8dac193 into main Nov 23, 2026
17 checks passed
@val-materialize
val-materialize deleted the valeriechiang/mysql-iam-docs-rds-ca branch November 23, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants